package day09;

public class MyThread extends Thread{
    private String name;
    private String value;

    public MyThread(String name,String value){
        this.name = name;
        this.value = value;
    }

    @Override
    public void run(){
        for (int i = 0;i<1000;i++){
            System.out.println(value);
        }
    }
}
